# 声明一个智能体接口
class Agent(object):

    def __init__(self, name: str, recorder):
        self.name = name
        self.recoder = recorder

    def speak(self, message):
        """模拟角色发言，后续可扩展为语音输出"""
        content = f"{self.name}: {message}"
        print(content)
        return content

    def interact_with_llm(self, prompt):
        """与大模型进行交互的抽象方法，具体实现由子类完成"""
        pass

